# schoolbaf = ['语文书','数学书','英语书','漫画书']
# length = len(schoolbaf)
# i = 0
# while i < length:
#     print(schoolbaf[i])
#     i += 1

# schoolbaf = ['语文书','数学书','英语书','漫画书']
# for item in schoolbaf:
#     print(item)

import random
nums = []
while len(nums) < 6:
    num = random.randint(1,33)
    if num not in nums:
        nums.append(num)
nums.append(random.randint(1,16))
print('随机生成的双色球号码:')
print('红球：',end=' ')
for i in nums[:6]:
    print(i,end=' ')
print('篮球',nums[6])
